<ion-header>
  <ion-toolbar color="customblue">
    <ion-buttons slot="start">
      <ion-back-button class="back-icon" text="" defaultHref="/"></ion-back-button>
    </ion-buttons>
    <ion-title>投诉与建议</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <ion-list class="apply-list">
    <ion-item lines="none">
      <ion-label>请选择问题类型</ion-label>
      <ion-select okText="确定" cancelText="取消" [(ngModel)]="suggestId" >
        <ion-select-option [value]="item.unitGuid"  *ngFor="let item of suggestlist">{{item.name}}</ion-select-option>
      </ion-select>
    </ion-item>
  </ion-list>
  <div class="sug-bgc"></div>
  <div class="sug-text">
    <ion-textarea placeholder="请输入描述" auto-grow="true" [(ngModel)]="suggestInfo" ></ion-textarea>
  </div>
  <div class="sug-img">上传截图（最多三张）</div>
  <div class="online-img">
    <div class="online-img1" *ngFor="let item of imgList" >
      <img [src]="item.filePath" />
    </div>
    <img src="../../../assets/image/bt-sug.png" class="online-img1" (click)="presentActionSheet()" />
  </div>
  <div>
    <ion-button expand="block" class="online-btn" (click)="getsuggest()">提交建议</ion-button>
  </div>
  <!-- <div class="imgslides" *ngIf="isShowimg">
    <div class="imgslides-icon" (click)="iconclick()"><ion-icon name="close-outline"></ion-icon></div>
    <img [src]="suggestImglist" class="imgslides-img">
  </div> -->
</ion-content>
